package com.huatec.hiot_cloud.core.dao;

import com.huatec.hiot_cloud.core.entity.Device;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DeviceDao {
    public Integer insertDevice(Device device);
    public Integer updateDeviceById(Device device);
    public Integer delDeviceById(Device device);
    public Device getDeviceInfoById(Device device);
    public List<Device> getDeviceListByDevice(Device device);
}
